﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PropertyManagement.Core.Model {
    public class EmptyFeeManagementBill {
        public int HouseOwnerID { get; set; }
        public string HouseCode { get; set; }
        public string ApartmentName { get; set; }
        public string OwnerName { get; set; }
        public int SpaceArea { get; set; }
        public decimal UnitPrice { get; set; }
        public BillType BillType { get; set; }
        public decimal CallableMoney { get; set; }
        public DateTime BillEffectiveDate { get; set; }
        public DateTime ExpireDate { get; set; }
    }

    public class EmptyFeeInstrumentBill {
        public int HouseOwnerID { get; set; }
        public string HouseCode { get; set; }
        public string ApartmentName { get; set; }
        public string OwnerName { get; set; }
        public string InstrumentName { get; set; }
        public InstrumentType InstrumentType { get; set; }
        public int LastValue { get; set; }
        public decimal UnitPrice { get; set; }
        public int CurrentValue { get; set; }
        public int CurrentNumber { get; set; }
        public DateTime? LastDate { get; set; }
        public string LastDateShow {
            get { return LastDate != null ? LastDate.Value.ToString("yyyy-MM-dd") : ""; }
        }
        public DateTime? CurrentDate { get; set; }
        public string CurrentDateShow {
            get { return CurrentDate != null ? CurrentDate.Value.ToString("yyyy-MM-dd") : ""; }
        }
        public BillType BillType { get; set; }
        public decimal CallableMoney { get; set; }
        public DateTime BillEffectiveDate { get; set; }
        public DateTime ExpireDate { get; set; }
    }
}
